package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wux
 * @date 2023/5/29 8:52
 */
@Data
public class TProdTaskVO extends CommonEntity implements Serializable {
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "产品id")
    private Long prodId;

    @ApiModelProperty(value = "生产单编号")
    private String taskCode;

    @ApiModelProperty(value = "计划产量")
    private Integer planNum;

    @ApiModelProperty(value = "状态 0未完成 1已完成")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String remark;

//    @ApiModelProperty(value = "最新建议冷弯数据")
//    private String suggest;

    @ApiModelProperty(value = "产品编码")
    private String prodCode;

//    @ApiModelProperty(value = "所属隧道")
//    private String tunnel;
//
//    @ApiModelProperty(value = "隧道部位")
//    private String tunnelArea;
//
//    @ApiModelProperty(value = "工字钢类型")
//    private String steel;
//
//    @ApiModelProperty(value = "单元")
//    private String unit;

//    @ApiModelProperty(value = "大样图")
//    private String image;

//    @ApiModelProperty(value = "生产批次")
//    private String batchCode;

    @ApiModelProperty(value = "已完成产量")
    private Integer finishNum;

    @ApiModelProperty(value = "剩余待生产")
    private Integer unFinishNum;

    @ApiModelProperty("弧长")
    @TableField("arc_length")
    private BigDecimal arcLength;

    @ApiModelProperty("玄高")
    @TableField("height")
    private BigDecimal height;

    @ApiModelProperty("半径")
    @TableField("radius")
    private BigDecimal radius;

    @ApiModelProperty("长/止浆段长度")
    @TableField("prod_long")
    private BigDecimal prodLong;

    @ApiModelProperty("宽")
    @TableField("prod_wide")
    private BigDecimal prodWide;

    @ApiModelProperty("厚")
    @TableField("pro_thick")
    private BigDecimal proThick;

    @ApiModelProperty("钢筋规格")
    @TableField("rebar_specifications")
    private String rebarSpecifications;

    @ApiModelProperty("钢板规格")
    @TableField("steel_plate_specifications")
    private String steelPlateSpecifications;

    @ApiModelProperty("小导管规格")
    @TableField("conduit_specifications")
    private String conduitSpecifications;

}
